package com.wisdytech.common.bean;
/**
 * 
 * <p>ClassName: ResultEnum</p>
 * <p>Description: 结果集</p>
 * <p>Author: dailibo</p>
 * <p>Date: 2017-9-16</p>
 */
public enum ResultEnum {

    SUCCESS("1000","成功"),
    FAIL("2000","失败"),
    FAIL_SYSTEM("2001","系统异常"),
	NULL("2002","查询结果为空"),
	NULL_EQUIPCODE("2003","设备编码为空"),
	PROTOCOL_NON_EXISTENT("2004","解析协议不存在"),
	NULL_EQUIP("2005","设备不存在"),
	
	INSERT_ERROR("3001","插入数据失败"),
	
	SEVER_EXIST("5001","终端已存在"),
	SEVER_INSERT_ERROR("5002","终端插入失败"),
	SEVER_NOT_EXIST("5003","终端不存在"),
	SEVER_HEART_ERROR("5004","终端心跳失败");
	
	
    
    private String code;
    private String message;
    private ResultEnum(String code ,String message){
        this.code=code;
        this.message=message;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }
    
}
